/*
package com.ruoyi.algorithm;

import com.ruoyi.algorithm.controller.TableStructController;
import com.ruoyi.algorithm.controller.UserTableStructController;
import com.beihu.sightplus.common.authorization.service.UserAuthorization;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

@Component
public class SpringBootInitialization implements ApplicationRunner {

    @Autowired
    TableStructController tableStructController;
    @Autowired
    UserTableStructController userTableStructController;

    @Override
    public void run(ApplicationArguments args) {
        tableStructController.addTableStructs();

        Long userId = UserAuthorization.getUserAuthorization().getId();
        userTableStructController.insertUserTS(userId);
    }

}
*/
